<%--
  Created by IntelliJ IDEA.
  User: 敬潘
  Date: 2021/6/23
  Time: 20:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form method="post" action="ModifyServlet">
    <input type="hidden" name="id" value="${rent.id}"/>
    <table>
        <tr>
            <td>姓名</td>
            <td><input type="text" name="userName" value="${rent.userName}" /></td>
        </tr>
        <tr>
            <td>车牌</td>
            <td><input type="text" name="carNum" value="${rent.carNum}" /></td>
        </tr>
        <tr>
            <td>状态</td>
            <td>
                <input type="radio" name="status" value="0" checked="${rent.status==0?'checked':''}"/>租赁中
                <input type="radio" name="status" value="1"  checked="${rent.status==1?'checked':''}"/>已到期
            </td>
        </tr>
        <tr>
            <td>到期日期</td>
            <td><input type="text" name="maturityDale" value="${rent.maturityDale}" /></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="提交"/>
            </td>
        </tr>
    </table>
</form>

</body>
</html>
